.class Limoblife/applist/AppListActivity$6;
.super Landroid/os/Handler;
.source "AppListActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Limoblife/applist/AppListActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Limoblife/applist/AppListActivity;

.field private final synthetic val$progressDialog:Landroid/app/ProgressDialog;


# direct methods
.method constructor <init>(Limoblife/applist/AppListActivity;Landroid/app/ProgressDialog;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Limoblife/applist/AppListActivity$6;->this$0:Limoblife/applist/AppListActivity;

    iput-object p2, p0, Limoblife/applist/AppListActivity$6;->val$progressDialog:Landroid/app/ProgressDialog;

    .line 384
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method

.method static synthetic access$0(Limoblife/applist/AppListActivity$6;)Limoblife/applist/AppListActivity;
    .locals 1
    .parameter

    .prologue
    .line 384
    iget-object v0, p0, Limoblife/applist/AppListActivity$6;->this$0:Limoblife/applist/AppListActivity;

    return-object v0
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 4
    .parameter "message"

    .prologue
    .line 386
    iget v1, p1, Landroid/os/Message;->what:I

    packed-switch v1, :pswitch_data_0

    .line 408
    :cond_0
    :goto_0
    return-void

    .line 388
    :pswitch_0
    iget-object v1, p0, Limoblife/applist/AppListActivity$6;->val$progressDialog:Landroid/app/ProgressDialog;

    invoke-virtual {v1}, Landroid/app/ProgressDialog;->dismiss()V

    .line 389
    const/4 v0, 0x0

    .local v0, i:I
    :goto_1
    iget-object v1, p0, Limoblife/applist/AppListActivity$6;->this$0:Limoblife/applist/AppListActivity;

    iget-object v1, v1, Limoblife/applist/AppListActivity;->listView:[Landroid/widget/ListView;

    array-length v1, v1

    if-ge v0, v1, :cond_0

    .line 390
    iget-object v1, p0, Limoblife/applist/AppListActivity$6;->this$0:Limoblife/applist/AppListActivity;

    iget-object v1, v1, Limoblife/applist/AppListActivity;->listView:[Landroid/widget/ListView;

    aget-object v1, v1, v0

    iget-object v2, p0, Limoblife/applist/AppListActivity$6;->this$0:Limoblife/applist/AppListActivity;

    iget-object v2, v2, Limoblife/applist/AppListActivity;->listViewItem:[Limoblife/applist/AppListActivity$ListViewItem;

    aget-object v2, v2, v0

    invoke-virtual {v1, v2}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 389
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    .line 394
    .end local v0           #i:I
    :pswitch_1
    iget-object v1, p0, Limoblife/applist/AppListActivity$6;->val$progressDialog:Landroid/app/ProgressDialog;

    invoke-virtual {v1}, Landroid/app/ProgressDialog;->dismiss()V

    .line 395
    new-instance v1, Landroid/app/AlertDialog$Builder;

    iget-object v2, p0, Limoblife/applist/AppListActivity$6;->this$0:Limoblife/applist/AppListActivity;

    invoke-direct {v1, v2}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 396
    const-string v2, "Notification"

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    .line 397
    const-string v2, "Connection error! Fail to get connected with internet."

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    .line 398
    const-string v2, "Close"

    new-instance v3, Limoblife/applist/AppListActivity$6$1;

    invoke-direct {v3, p0}, Limoblife/applist/AppListActivity$6$1;-><init>(Limoblife/applist/AppListActivity$6;)V

    invoke-virtual {v1, v2, v3}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    .line 403
    invoke-virtual {v1}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    goto :goto_0

    .line 386
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method
